package wangjg.xuexiban.entity;

/*
 * 使用元素对象模型描述：
 * Element e = new Element();
 * e.setAttribute("type","wangjg.xuexiban.Cardname");
 * e.setAttribute("language",language);
 * e.setAttribute("name",name);
 * e.setAttribute("speech_path",speech_path);
 */
public class CardName {
	private String language;
	private String name;
	private String speech;
	
	public CardName() {
	}
	public CardName(String language, String name, String speechUrl) {
		this.language = language;
		this.name = name;
		this.speech = speechUrl;
	}
	public String getSpeech() {
		return speech;
	}
	public void setSpeech(String speech_path) {
		this.speech = speech_path;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Override
	public String toString() {
		return "CardName [language=" + language + ", name=" + name
				+ ", speech_path=" + speech + "]";
	}
	
}
